#ifndef __USART_H
#define __USART_H

#include "stm32f10x.h"

extern u8  TxBuffer1[]; 
extern u8  TxBuffer2[]; 
extern u8  RxBuffer1[];
extern u8  RxBuffer2[];
extern vu8 TxCounter1;
extern vu8 TxCounter2;
extern vu8 RxCounter1; 
extern vu8 RxCounter2;
u16 readByte ( USART_TypeDef* USARTx );
void writeByte ( USART_TypeDef* USARTx, u16 data );
void writeString ( USART_TypeDef* USARTx, char* string );
void delay ( int count );
void Usart_Init ();
#endif